package com.ljh.socrescue.ui.theme

import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color

val Purple80 = Color(0xFFD0BCFF)
val PurpleGrey80 = Color(0xFFCCC2DC)
val Pink80 = Color(0xFFEFB8C8)

val Purple40 = Color(0xFF6650a4)
val PurpleGrey40 = Color(0xFF625b71)
val Pink40 = Color(0xFF1E1F22)
val grayE8 = Color(0xFFEDCFB3)
val grayD3 = Color(0xFFD3C1AF)
val grayEB = Color(0xFFE0EBFE)
val gray8B = Color(0xFF8B96C2)
val whiteEF = Color(0xFFEFF2FE)
val whiteFD = Color(0xFFFDFDFC)
val black514 = Color(0xFF514F7B)
val black53 = Color(0xFF53727A)
val greenCF = Color(0xFFCFEDF0)
val yellowF8 = Color(0xFFF8FEAD)
val green5E = Color(0xFF5E738F)

object AppColors {
    val Purple200 = Color(0xFFBB86FC)
    val Purple500 = Color(0xFF6200EE)

    object Light {
        val Background = Color(0xFFDCDCDC)
        val LightShadow = Color(0xFFFFFFFF)
        val DarkShadow = Color(0xFFA8B5C7)
        val TextColor = Color.Black
    }

    object Dark {
        val Background = Color(0xFF303234)
        val LightShadow = Color(0x66494949)
        val DarkShadow = Color(0x66000000)
        val TextColor = Color.White
    }

    @Composable
    fun lightShadow() = Light.LightShadow
//    fun lightShadow() = if (MaterialTheme.colors.isLight) Light.LightShadow else Dark.LightShadow

    @Composable
    fun darkShadow() = Light.DarkShadow
//    fun darkShadow() = if (MaterialTheme.colors.isLight) Light.DarkShadow else Dark.DarkShadow
}